package cn.eonshine.cuba.inf.modular.biz.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * Tanker GPS航程表
 * </p>
 *
 * @author Alan
 * @since 2018-07-28
 */
@TableName("inf_tanker_gps_voyage")
public class TankerGpsVoyage extends Model<TankerGpsVoyage> {

    private static final long serialVersionUID = 1L;

    /**
     * primary key 主键
     */
    @TableField(exist = false)
    private String id;
    @TableId("vessel_id")
    private BigDecimal vesselId;
    private String destination;
    private BigDecimal draught;
    private String eta;
    private String received;
    @TableField("special_cargo")
    private String specialCargo;
    /**
     * Data collection status 数据采集状态
     */
    @TableField("LSMS_UPDATE")
    private BigDecimal lsmsUpdate;
    /**
     * Data input datetime 数据更新时间
     */
    @TableField("DATA_INPUT_DATETIME")
    private Date dataInputDatetime;


    public BigDecimal getVesselId() {
        return vesselId;
    }

    public void setVesselId(BigDecimal vesselId) {
        this.vesselId = vesselId;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public BigDecimal getDraught() {
        return draught;
    }

    public void setDraught(BigDecimal draught) {
        this.draught = draught;
    }

    public String getEta() {
        return eta;
    }

    public void setEta(String eta) {
        this.eta = eta;
    }

    public String getReceived() {
        return received;
    }

    public void setReceived(String received) {
        this.received = received;
    }

    public String getSpecialCargo() {
        return specialCargo;
    }

    public void setSpecialCargo(String specialCargo) {
        this.specialCargo = specialCargo;
    }

    @Override
    protected Serializable pkVal() {
        return this.vesselId;
    }

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public BigDecimal getLsmsUpdate() {
		return lsmsUpdate;
	}

	public void setLsmsUpdate(BigDecimal lsmsUpdate) {
		this.lsmsUpdate = lsmsUpdate;
	}

	public Date getDataInputDatetime() {
		return dataInputDatetime;
	}

	public void setDataInputDatetime(Date dataInputDatetime) {
		this.dataInputDatetime = dataInputDatetime;
	}

	@Override
    public String toString() {
        return "TankerGpsVoyage{" +
        ", vesselId=" + vesselId +
        ", destination=" + destination +
        ", draught=" + draught +
        ", eta=" + eta +
        ", received=" + received +
        ", specialCargo=" + specialCargo +
        "}";
    }
}
